package saas.dev.cloud.util.test;


import java.io.Serializable;
import java.util.List;

/**
 * @ClassName : BeanBaseTree
 * @Author : y1
 * @Date: 2022/5/19 17:10
 * @Description :
 */
public abstract class BaseBeanTree implements BaseTree {

    /**
     * 获取Id
     *
     * @return
     */
    @Override
    public abstract Serializable getId();

    /**
     * 获取父类Id
     *
     * @return
     */
    @Override
    public abstract Serializable getParentId();

    /**
     * 设置子树
     *
     * @param children
     * @return
     */
    @Override
    public abstract void setChildList(List<? extends BaseBeanTree> children);
}
